﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Page/MasterPage.master" AutoEventWireup="true"
    CodeFile="TeamList.aspx.cs" Inherits="Page_Team_TeamList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../../CSS/PageStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="FrameStyle">
        <div class="PageTitleStyle">
            <asp:Image ID="bgpicVTListTop" runat="server" 
                ImageUrl="~/Images/VirtualTeam/bgpicMyVirtualTeamTop.png" />
        </div>
        <div id="RFPList">
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <asp:GridView ID="GVTeam" runat="server" AutoGenerateColumns="False" AllowPaging="True" 
                    onpageindexchanging="GVTeam_PageIndexChanging" CssClass="DataViewStyle" 
                    GridLines="None" EmptyDataText="No Data">
                    <Columns>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label1" runat="server" Text="TeamName"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:LinkButton ID="LBTeamName" runat="server" class="DataViewTitleStyle" 
                                        Text='<%# Eval("TeamName") %>' CommandArgument='<%# Eval("TeamId") %>'
                                    CausesValidation="False" onclick="LBTeamName_Click"></asp:LinkButton>
                            </ItemTemplate>
                            <ControlStyle Width="240px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#0F3DB4"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label1" runat="server" Text="Description"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label4" runat="server" Text='<%# Eval("TeamDescription") %>'></asp:Label>
                            </ItemTemplate>
                            <ControlStyle Width="80px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#0F3DB4"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label2" runat="server" Text="Date"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label6" runat="server" Text='<%# Eval("TeamDate") %>'></asp:Label>
                            </ItemTemplate>
                            <ControlStyle Width="80px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#0F3DB4"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
            <div class="bgBottom">
            </div>
            <div class="ButtonAndBlankStyle">
                <table>
                    <tr>
                        <td width="445px">
                        </td>
                        <td width="85px">
                            <asp:ImageButton ID="btnRFPBack" runat="server" ImageUrl="~/Images/btnPublicBack.png"
                                CausesValidation="False" onclick="btnRFPBack_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</asp:Content>
